// 获取地址栏参数 ===> location.search
function locationParam(temp = {}) {
  let paramStr = decodeURI(location.search.slice(1));
  let paramArr = paramStr.split("&");
  paramArr.forEach(function (item, i) {
    let param = item.split("=");
    temp[param[0]] = param[1];
  });
  return temp;
}
